package com.foreknow.demo1;

public class Test {
    public static void main(String[] args) {
        String str= "abcdefghijk";
        System.out.println(str.substring(str.indexOf('c'),8));
    }
}
